package com.manage.project.biz.service.impl;

import java.util.List;

import com.manage.project.biz.domain.CivilEnginneeringEmergencyCheck;
import com.manage.project.biz.mapper.CivilEnginneeringEmergencyCheckMapper;
import com.manage.project.biz.service.ICivilEnginneeringEmergencyCheckService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 *  土建结构应急检查Service业务层处理
 *
 * @author 小赵
 * @date 2022-04-28
 */
@Service
public class CivilEnginneeringEmergencyCheckServiceImpl implements ICivilEnginneeringEmergencyCheckService
{
    @Autowired
    private CivilEnginneeringEmergencyCheckMapper civilEnginneeringEmergencyCheckMapper;

    @Override
    public CivilEnginneeringEmergencyCheck selectCivilEnginneeringEmergencyCheckByEmergencyCheckId(Long emergencyCheckId)
    {
        return civilEnginneeringEmergencyCheckMapper.selectCivilEnginneeringEmergencyCheckByEmergencyCheckId(emergencyCheckId);
    }


    @Override
    public List<CivilEnginneeringEmergencyCheck> selectCivilEnginneeringEmergencyCheckList(CivilEnginneeringEmergencyCheck civilEnginneeringEmergencyCheck)
    {
        return civilEnginneeringEmergencyCheckMapper.selectCivilEnginneeringEmergencyCheckList(civilEnginneeringEmergencyCheck);
    }

    @Override
    public int insertCivilEnginneeringEmergencyCheck(CivilEnginneeringEmergencyCheck civilEnginneeringEmergencyCheck)
    {

            return civilEnginneeringEmergencyCheckMapper.insertCivilEnginneeringEmergencyCheck(civilEnginneeringEmergencyCheck);
    }


    @Override
    public int updateCivilEnginneeringEmergencyCheck(CivilEnginneeringEmergencyCheck civilEnginneeringEmergencyCheck)
    {
        return civilEnginneeringEmergencyCheckMapper.updateCivilEnginneeringEmergencyCheck(civilEnginneeringEmergencyCheck);
    }


    @Override
    public int deleteCivilEnginneeringEmergencyCheckByEmergencyCheckIds(Long[] emergencyCheckIds)
    {
        return civilEnginneeringEmergencyCheckMapper.deleteCivilEnginneeringEmergencyCheckByEmergencyCheckIds(emergencyCheckIds);
    }


    @Override
    public int deleteCivilEnginneeringEmergencyCheckByEmergencyCheckId(Long emergencyCheckId)
    {
        return civilEnginneeringEmergencyCheckMapper.deleteCivilEnginneeringEmergencyCheckByEmergencyCheckId(emergencyCheckId);
    }
}
